-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yjs Electric provider example #1508
Conversation
bf6c572
to
64e62a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work!
551382b
to
af02df3
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
6164404
to
1faec98
Compare
Experimental compaction of YDoc This obviously isn't a complete implementation as the TRUNCATE also deletes all other Ydocs that we might be storing :D. The idea was to demonstrate the use of shape rotation to clear the log of operations. We should think if we want to expose the delete shape endpoint on the backend or not. The proxy could disallow any requests coming from the user. EDIT: reflecting a bit more, maybe the best is to leave this out because we'll be able to do compaction a lot better in the future. |
7f083e3
to
567c81d
Compare
71ff836
to
aa1c46b
Compare
232fcbf
to
ea1be12
Compare
ea1be12
to
b53d87b
Compare
239ae2f
to
564cded
Compare
4df734b
to
88b4920
Compare
A codemirror example with Yjs using Electric for sync Contains an Y-Electric connection provider that we will extract and ship as a separate package.
A codemirror example with Yjs using Electric for sync Contains an Y-Electric connection provider that we will extract and ship as a separate package.
A codemirror example with Yjs using Electric for sync Contains an Y-Electric connection provider that we will extract and ship as a separate package.
A codemirror example with Yjs using Electric for sync Contains an Y-Electric connection provider that we will extract and ship as a separate package.
A codemirror example with Yjs using Electric for sync Contains an Y-Electric connection provider that we will extract and ship as a separate package.
A codemirror example with Yjs using Electric for sync Contains an Y-Electric connection provider that we will extract and ship as a separate package.
A basic codemirror example with Yjs using Electric for sync.
I have removed a lot of stuff I've done in this example to just have the bare minimum. The provider shall work with persistence backend and broadcasting, but right now I removed all that code to keep the ElectricProvider to the bare minimum. I'll add back support for that when I publish the provider.
TODO